package cn.broadsense.thrid.result;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: pengxin
 * @create: 2024-12-21 10:44
 * @Version 1.0
 **/
@NoArgsConstructor
@Data
public class ChannelStatusResult implements Serializable {

    private static final long serialVersionUID = -8601416104690826290L;


    private List<OrgsStructResult> orgs;

    @NoArgsConstructor
    @Data
    public static class OrgsStructResult {
        private String orgCode;
        private List<DevicesStructResult> devices;
        private List<ChannelsStructResult> channels;

        @NoArgsConstructor
        @Data
        public static class DevicesStructResult {
            private String code;
            private String status;
            private Long statusTime;
        }

        @NoArgsConstructor
        @Data
        public static class ChannelsStructResult {
            private String code;
            private String status;
            private Long statusTime;
        }
    }
}
